﻿
IF object_id(N'dbo.[UDS_MailAttach]', 'U') IS NULL
BEGIN
    CREATE TABLE [dbo].[UDS_MailAttach] (
        [DocID]             int           NULL,
        [Readed]            bit           NULL CONSTRAINT [DF_UDS_MailAttach_Readed] default(((0))),
        [Sender]            nvarchar(255)  COLLATE Chinese_PRC_CI_AS NULL,
        [Receiver]          nvarchar(255)  COLLATE Chinese_PRC_CI_AS NULL,
        [AllReceiver]       nvarchar(1000) COLLATE Chinese_PRC_CI_AS NULL,
        [CopySender]        nvarchar(255)  COLLATE Chinese_PRC_CI_AS NULL,
        [FurtiveCopySender] nvarchar(255)  COLLATE Chinese_PRC_CI_AS NULL,
        [Position]          int           NULL
    );
END
GO
